package cloud.mbase.business.interf;

import cloud.mbase.entity.datavo.Muser;
import cloud.mbase.entity.datavo.Resource;

import java.util.List;

public interface UserBusinessInterface {
    List<Resource> findAllResource();
    Resource getResourceById(Integer id);
    Resource saveResource(Resource resource);
    void deleteResource(Integer id);
    Muser saveUser(Muser user);
    Muser findByUserName(String userName);
    boolean setUserAuth(Integer userId,String roleName);
}
